﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.QualityInspection_Modelling
{
    /// <summary>
    /// 质量检测实体
    /// </summary>
    [Table("qualityinspections")]
    public class QualityInspection : AuditEntity
    {
        public string InspectionNumber { get; set; } // 质检单号
        public long ProductionOrderId { get; set; } // 关联工单ID  
        public long MaterialGroupId { get; set; }//关联群组外检  
        public int InspectedQuantity { get; set; } // 检测数量
        public int QualifiedQuantity { get; set; } // 合格数量
        public int UnqualifiedQuantity { get; set; } // 不合格数量
        public string Inspector { get; set; } // 检测人员
        public DateTime InspectionTime { get; set; } = DateTime.Now; // 检测时间
    }
}
